package com.itheima.object;

public class objTest2 {
    //目标:创建学生对象存储学生数据,并操作学生数据
    public static void main(String[] args) {
        objStudent s1 = new objStudent();
        s1.name="播妞";
        s1.chinese=100;
        s1.math=100;
        s1.printAllscore();
        s1.printAverageScore();

        objStudent s2= new objStudent();
        s2.name="播仔";
        s2.chinese=50;
        s2.math=100;
        s2.printAllscore();
        s2.printAverageScore();
    }
}
